package com.service;


import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.common.utils.base.UuidUtil;
import com.entity.UserType;
import com.service.base.BaseServiceImp;

@Service("UserTypeService")
public class UserTypeServiceImpl extends BaseServiceImp<UserType> implements UserTypeService{

	@Override
	@Transactional
	public String insert(UserType o) {
		o.setId(UuidUtil.get32UUID());
		baseDao.insert(o);
		return o.getId();
	}
	
}
